package com.fand.generator.mapper;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字段映射
 * 
 * @author yaoHT
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FieldMapper implements java.io.Serializable {
	/**
	 * 版本号
	 */
	private static final long serialVersionUID = -3060242666159354649L;

	private Integer charOctetLength;

	/**
	 * 编号
	 */
	private String code;

	private String columnDef;

	private String columnName;
	private Integer columnSize;
	private Integer dataType;
	private Integer decimalDigits;
	private String isAutoincrement;
	private String isGeneratedcolumn;
	private String isNullable;
	private Short keySeq;
	/**
	 * 名称
	 */
	private String name;
	private String namePascalCase;
	private Integer nullable;
	private Integer numPrecRadix;
	private Integer ordinalPosition;
	private String pkName;
	private String remarks;
	private String scopeCatalog;
	private String scopeSchema;
	private String scopeTable;
	private String sourceDataType;
	private Integer sqlDataType;
	private Integer sqlDatetimeSub;
	private String tableCat;
	private String tableName;
	private String tableSchem;
	/**
	 * 类型编号
	 */
	private String typeCode;

	private String typeName;
}
